package cn.e2win.base.service;

import java.io.Serializable;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.e2win.base.entity.SysUser;
import cn.e2win.base.json.vo.Pager;

public interface BaseMvcServiceIf <T,PK extends Serializable> {
	static Log logger = LogFactory.getLog(BaseMvcServiceIf.class);
	
	public void save(T t, SysUser user);
	
	public void delete(PK id);
	
	public void delete(PK[] ids);
	
    public void physicDelete(PK id);
	
	public void physicDelete(PK[] ids);
	
	public T get(PK id);
	
	public void update(T t, SysUser user);
	
	public List<T> getAll();
	

	public void pageList(Pager pager);
	
}
